#ifndef ZYGSCROLLAREA_H
#define ZYGSCROLLAREA_H

#include <QMenuBar>
#include <QScrollArea>
#include <QMainWindow>

#include "zygcanvas.h"

class ZygScrollArea : public QScrollArea{
Q_OBJECT
public:
    ZygScrollArea();
    ZygScrollArea(QMainWindow* mainWindow);
    ~ZygScrollArea();

    //刷新
    void refreshContent();

private:
    ZygCanvas* canvas;
};

#endif // ZYGSCROLLAREA_H
